/*
 * @Author: 
 * @Date: 2025-09-16 16:09:35
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2025-09-16 16:09:45
 * @Description: 
 */
import { PartialType } from '@nestjs/swagger';
import { CreateUserDto } from './create-user.dto';
import { IsOptional, IsBoolean } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class UpdateUserDto extends PartialType(CreateUserDto) {
  @ApiProperty({ description: '是否激活', required: false })
  @IsOptional()
  @IsBoolean()
  isActive?: boolean;
}